import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
    {//加载中
        path: '/',
        name: 'loading_view',
        component: () => import('../components/view/loading_view.vue')
    },
    {//登录页
        path: '/indexHome',
        name: 'index_home',
        component: () => import('../components/view/index_home.vue')
    },
    {//合约列表
        path: '/heyuelist',
        name: 'heyue_list',
        component: () => import('../components/view_list/heyue_list.vue')
    },
    {//下单
        path: '/xiadan',
        name: 'xia_dan',
        component: () => import('../components/view_list/xia_dan.vue')
    },
    {//K线右键菜单
        path: '/rightClickMenu',
        name: 'right_click_menu',
        component: () => import('../components/view_list/right_click_menu.vue')
    },
    {//K线右键二级菜单
        path: '/rightClickMenu2',
        name: 'right_click_menu_2',
        component: () => import('../components/view_list/right_click_menu_2.vue')
    },
    {//K线右键三级菜单
        path: '/rightClickMenu3',
        name: 'right_click_menu_3',
        component: () => import('../components/view_list/right_click_menu_3.vue')
    },
    {//设置大单阈值
        path: '/dadanFazhi',
        name: 'dadan_fazhi',
        component: () => import('../components/view_list/dadan_fazhi.vue')
    },
    {//k线图起始日期
        path: '/klineStartDate',
        name: 'kline_start_date',
        component: () => import('../components/view_list/kline_start_date.vue')
    },
    {//资金流水
        path: '/zijinLiushui',
        name: 'zijin_liushui',
        component: () => import('../components/view_list/zijin_liushui.vue')
    },
    {//画线下单配置
        path: '/huaxiadanOption',
        name: 'huaxiadan_option',
        component: () => import('../components/view_list/huaxiadan_option.vue')
    },
    {//止盈止损设置
        path: '/sunYing',
        name: 'sun_ying',
        component: () => import('../components/view_list/sun_ying.vue')
    },
    {//公告详情
        path: '/gonggaoinfo',
        name: 'gong_gao_info',
        component: () => import('../components/view_list/gong_gao_info.vue')
    },
    {//用户评价
        path: '/userevaluate',
        name: 'user_evaluate',
        component: () => import('../components/view_list/user_evaluate.vue')
    },
    {//关于
        path: '/about',
        name: 'user_about',
        component: () => import('../components/view_list/user_about.vue')
    },
    {//上传日志
        path: '/uploadlog',
        name: 'upload_log',
        component: () => import('../components/view_list/upload_log.vue')
    },
    {//运行日志
        path: '/runtimelog',
        name: 'runtime_log',
        component: () => import('../components/view_list/runtime_log.vue')
    },
    {//撤单窗口
        path: '/chedanview',
        name: 'che_dan_view',
        component: () => import('../components/view_list/che_dan_view.vue')
    },
    {//网络状态
        path: '/networkcondition',
        name: 'network_condition',
        component: () => import('../components/view_list/network_condition.vue')
    },
    {//优选行情服务器
        path: '/preferredmarketserver',
        name: 'preferred_market_server',
        component: () => import('../components/view_list/preferred_market_server.vue')
    },
    {//网络详情
        path: '/networkdetail',
        name: 'network_detail',
        component: () => import('../components/view_list/network_detail.vue')
    },
    {//止盈止损单
        path: '/stopLossOpen',
        name: 'stopLossOpen',
        component: () => import('../components/view_list/stopLossOpen.vue')
    },
    {//条件单
        path: '/conditionList',
        name: 'condition_list',
        component: () => import('../components/view_list/condition_list.vue')
    },
    {//画线下单列表
        path: '/huaxianlist',
        name: 'huaxian_list',
        component: () => import('../components/view_list/huaxian_list.vue')
    },
    {//预警列表
        path: '/yujinglist',
        name: 'yujing_list',
        component: () => import('../components/view_list/yujing_list.vue')
    },
     {//预警触发列表
        path: '/yujingchufalist',
        name: 'yujing_chufalist',
        component: () => import('../components/view_list/yujing_chufalist.vue')
    },
    {//按键精灵
        path: '/anjian',
        name: 'an_jian',
        component: () => import('../components/view_list/an_jian.vue')
    },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})
export default router
